import {Component, OnInit} from '@angular/core';
import {Hero} from "../hero";

@Component({
  moduleId: module.id,
  selector: 'hero-dash',
  templateUrl: './hero-dash.component.html'
})
export class HeroDashComponent implements OnInit {
  heroes: Hero[] = [];
  hero: Hero = new Hero(1,'fasfsf','fdasf','fsaf');
  heroes1: Hero[] = [this.hero];
  constructor() {
  }

  ngOnInit() {
  }

}
